cmake_minimum_required(VERSION 3.10)

find_package(Boost COMPONENTS program_options)
include_directories(${Boost_INCLUDE_DIRS})

include_directories($ENV{DM2016_DEV})

link_directories(${LIBRARY_OUTPUT_PATH})

aux_source_directory(src SRC)

add_executable(num2hex ${SRC})

if(Boost_FOND)
    target_link_libraries(num2hex ${Boost_LIBRARIES})
else()
    target_link_libraries(num2hex boost_program_options)
endif()